<?php

namespace hotel\common\models;

use Yii;

/**
 * This is the model class for table "activity_date".
 *
 * @property int $id
 * @property int $activity_id
 * @property string $date
 * @property string $create_time
 */
class ActivityDate extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'activity_date';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['activity_id'], 'integer'],
            [['date', 'create_time'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'activity_id' => 'Activity ID',
            'date' => 'Date',
            'create_time' => 'Create Time',
        ];
    }


}
